<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Historique
 *
 * @author sirine
 */
class Stade extends AppModel {

    public $validate = array(
        'nom_STADE' => array(
            'rule' => 'notEmpty',
            'required' => true,
            'allowEmpty' => false,
        ),
        'coorx_STADE' => array(
            'rule' => 'notEmpty',
            'required' => true,
            'allowEmpty' => false,
        ),
        'coory_STADE' => array(
            'rule' => 'notEmpty',
            'required' => true,
            'allowEmpty' => false,
        ),
        'ajoute_par_STADE' => array(
            'rule' => 'notEmpty',
            'required' => true,
            'allowEmpty' => false,
            'message' => 'il faut etre connecté'
        )
        ,
        'historique_STADE' => array(
            'rule' => 'alphanumeric',
            'allowEmpty' => false,
            'message' => 'il faut etre connecté'
        )
    );

}
